package com.ym521.activitystack.core.foreground

import android.app.Application
import com.ym521.activitystack.core.stack.ActivityStackManager

/**
 *@author Ym
 *E-mail: 2435970206@qq.com
 *createTime:2024/3/10
 *explain:
 *
 */
interface AppSateManager {

    val activityStackManager: ActivityStackManager

    fun registerActivityCallbacks(application: Application): AppSateManager

    fun isForeground(): Boolean

}